/**
 *
 * 2019-05-17 10:00:55
 * email:106773869@qq.com
 * mobile:15951895115
 * 邱伟伟
 *
 */
const mongoose = require('../config/db/mongo');
const moment = require('moment');
const Schema = mongoose.Schema;
const schemaOptions = {
    versionKey: false
};

const schema = new Schema({
    // app_id: String,// app_id: String,// application id
    // app_name: String,    // app_name: String,//application name
    // level: String,//error level [debug info error]
    exec_info: String,//exec info
    meta_data: Object,//meta_data
    createdAt: {type: Date,default: Date.now},}, schemaOptions);


module.exports = mongoose.model('log', schema, 'log');
